<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #class {
            width: 300px;
            height: 400px;
            color: black;
        }
        
        #first {
            background-color: tomato;
            width: 300px;
            height: 35px;
            font-size: 28px;
            color: white;
            margin-top: 20px;
            padding-bottom: 20px;
        }
        
        li {
            list-style: none;
        }
        
        #all {
            width: 300px;
            height: 365px;
            font-size: 20px;
            padding-top: 20px;
            background-color: rgb(104, 91, 85)
        }
        
        a {
            display: inline-block;
            height: 43px;
            text-decoration: none;
            color: black;
        }
        
        img {
            float: right;
        }
        
        a:hover {
            color: red;
        }
    </style>
</head>

<body>
    <div id="class">
        <div id="first">
            <caption>全部商品分类 <img src="arrow-down.gif" alt=""></caption>
        </div>
        <div id="all">
            <ul>
                <li>
                    <a href="">图书</a>
                    <a href="">音像</a>
                    <a href="">数字产品</a><img src="arrow-right.gif" alt="">

                </li>
                <li>
                    <a href="">家用电器</a>
                    <a href="">手机</a>
                    <a href="">数码</a><img src="arrow-right.gif" alt="">
                </li>
                <li>
                    <a href="">电脑</a>
                    <a href="">办公</a><img src="arrow-right.gif" alt="">
                </li>
                <li>
                    <a href="">家居</a>
                    <a href="">家装</a>
                    <a href="">厨具</a><img src="arrow-right.gif" alt="">
                </li>
                <li>
                    <a href="">服饰鞋帽</a>
                    <a href="">个护化妆</a><img src="arrow-right.gif" alt="">

                </li>
                <li>
                    <a href="">礼品箱包</a>
                    <a href="">钟表</a>
                    <a href="">珠宝</a><img src="arrow-right.gif" alt="">
                </li>
                <li>
                    <a href="">食品饮料</a>
                    <a href="">保健食品</a><img src="arrow-right.gif" alt="">

                </li>
                <li>
                    <a href="">彩票</a>
                    <a href="">旅行</a>
                    <a href="">充值</a>
                    <a href="">票务</a><img src="arrow-right.gif" alt="">
                </li>
            </ul>
        </div>
    </div>
</body>

</html>

</html>